Change window_private->parent pointer when reparenting.
authorOwen Taylor <otaylor@gtk.org>
Sun, 2 Aug 1998 07:15:00 +0000 (07:15 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Sun, 2 Aug 1998 07:15:00 +0000 (07:15 +0000)
Sun Aug  2 03:08:07 1998  Owen Taylor  <otaylor@gtk.org>

        * gdk/gdkwindow.c (gdk_window_reparent): Change
          window_private->parent pointer when reparenting.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/gdkwindow.c
gdk/x11/gdkwindow-x11.c

index 4c965724c01875c116255150a22a84ebfcd965d7..31dc9ae342bf04df8fec50872c50dced0c6c30c4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Aug  2 03:08:07 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdkwindow.c (gdk_window_reparent): Change 
+         window_private->parent pointer when reparenting.
+
 Sat Aug  1 22:17:00 1998  Raph Levien  <raph@acm.org>
 
        * gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
@@ -170,6 +175,7 @@ Fri, 24 Jul 1998 10:56:22 +0200 Paolo Molaro <lupus@debian.org>
 
        * gtk/gtkfeatures.h.in: added GTK_HAVE_ENUM_VALUE_STRUCT.
 
+>>>>>>> 1.560
 Thu Jul 23 00:11:39 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/testgtkrc: introduce testbindings on C-1 for buttons,
index 4c965724c01875c116255150a22a84ebfcd965d7..31dc9ae342bf04df8fec50872c50dced0c6c30c4 100644 (file)
@@ -1,3 +1,8 @@
+Sun Aug  2 03:08:07 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdkwindow.c (gdk_window_reparent): Change 
+         window_private->parent pointer when reparenting.
+
 Sat Aug  1 22:17:00 1998  Raph Levien  <raph@acm.org>
 
        * gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
@@ -170,6 +175,7 @@ Fri, 24 Jul 1998 10:56:22 +0200 Paolo Molaro <lupus@debian.org>
 
        * gtk/gtkfeatures.h.in: added GTK_HAVE_ENUM_VALUE_STRUCT.
 
+>>>>>>> 1.560
 Thu Jul 23 00:11:39 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/testgtkrc: introduce testbindings on C-1 for buttons,
index 4c965724c01875c116255150a22a84ebfcd965d7..31dc9ae342bf04df8fec50872c50dced0c6c30c4 100644 (file)
@@ -1,3 +1,8 @@
+Sun Aug  2 03:08:07 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdkwindow.c (gdk_window_reparent): Change 
+         window_private->parent pointer when reparenting.
+
 Sat Aug  1 22:17:00 1998  Raph Levien  <raph@acm.org>
 
        * gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
@@ -170,6 +175,7 @@ Fri, 24 Jul 1998 10:56:22 +0200 Paolo Molaro <lupus@debian.org>
 
        * gtk/gtkfeatures.h.in: added GTK_HAVE_ENUM_VALUE_STRUCT.
 
+>>>>>>> 1.560
 Thu Jul 23 00:11:39 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/testgtkrc: introduce testbindings on C-1 for buttons,
index 4c965724c01875c116255150a22a84ebfcd965d7..31dc9ae342bf04df8fec50872c50dced0c6c30c4 100644 (file)
@@ -1,3 +1,8 @@
+Sun Aug  2 03:08:07 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdkwindow.c (gdk_window_reparent): Change 
+         window_private->parent pointer when reparenting.
+
 Sat Aug  1 22:17:00 1998  Raph Levien  <raph@acm.org>
 
        * gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
@@ -170,6 +175,7 @@ Fri, 24 Jul 1998 10:56:22 +0200 Paolo Molaro <lupus@debian.org>
 
        * gtk/gtkfeatures.h.in: added GTK_HAVE_ENUM_VALUE_STRUCT.
 
+>>>>>>> 1.560
 Thu Jul 23 00:11:39 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/testgtkrc: introduce testbindings on C-1 for buttons,
index 4c965724c01875c116255150a22a84ebfcd965d7..31dc9ae342bf04df8fec50872c50dced0c6c30c4 100644 (file)
@@ -1,3 +1,8 @@
+Sun Aug  2 03:08:07 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdkwindow.c (gdk_window_reparent): Change 
+         window_private->parent pointer when reparenting.
+
 Sat Aug  1 22:17:00 1998  Raph Levien  <raph@acm.org>
 
        * gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
@@ -170,6 +175,7 @@ Fri, 24 Jul 1998 10:56:22 +0200 Paolo Molaro <lupus@debian.org>
 
        * gtk/gtkfeatures.h.in: added GTK_HAVE_ENUM_VALUE_STRUCT.
 
+>>>>>>> 1.560
 Thu Jul 23 00:11:39 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/testgtkrc: introduce testbindings on C-1 for buttons,
index 4c965724c01875c116255150a22a84ebfcd965d7..31dc9ae342bf04df8fec50872c50dced0c6c30c4 100644 (file)
@@ -1,3 +1,8 @@
+Sun Aug  2 03:08:07 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdkwindow.c (gdk_window_reparent): Change 
+         window_private->parent pointer when reparenting.
+
 Sat Aug  1 22:17:00 1998  Raph Levien  <raph@acm.org>
 
        * gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
@@ -170,6 +175,7 @@ Fri, 24 Jul 1998 10:56:22 +0200 Paolo Molaro <lupus@debian.org>
 
        * gtk/gtkfeatures.h.in: added GTK_HAVE_ENUM_VALUE_STRUCT.
 
+>>>>>>> 1.560
 Thu Jul 23 00:11:39 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/testgtkrc: introduce testbindings on C-1 for buttons,
index 4c965724c01875c116255150a22a84ebfcd965d7..31dc9ae342bf04df8fec50872c50dced0c6c30c4 100644 (file)
@@ -1,3 +1,8 @@
+Sun Aug  2 03:08:07 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdkwindow.c (gdk_window_reparent): Change 
+         window_private->parent pointer when reparenting.
+
 Sat Aug  1 22:17:00 1998  Raph Levien  <raph@acm.org>
 
        * gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
@@ -170,6 +175,7 @@ Fri, 24 Jul 1998 10:56:22 +0200 Paolo Molaro <lupus@debian.org>
 
        * gtk/gtkfeatures.h.in: added GTK_HAVE_ENUM_VALUE_STRUCT.
 
+>>>>>>> 1.560
 Thu Jul 23 00:11:39 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/testgtkrc: introduce testbindings on C-1 for buttons,
index cb04d61a0fe84cdb0df651a7ddfc652411afa57f..5c1feb2e3a421826a78d272499d084252c48e634 100644 (file)
@@ -857,6 +857,8 @@ gdk_window_reparent (GdkWindow *window,
                     parent_private->xwindow,
                     x, y);
 
+  window_private->parent = new_parent;
+
   if (old_parent_private)
     old_parent_private->children = g_list_remove (old_parent_private->children, window);
   parent_private->children = g_list_prepend (parent_private->children, window);
index cb04d61a0fe84cdb0df651a7ddfc652411afa57f..5c1feb2e3a421826a78d272499d084252c48e634 100644 (file)
@@ -857,6 +857,8 @@ gdk_window_reparent (GdkWindow *window,
                     parent_private->xwindow,
                     x, y);
 
+  window_private->parent = new_parent;
+
   if (old_parent_private)
     old_parent_private->children = g_list_remove (old_parent_private->children, window);
   parent_private->children = g_list_prepend (parent_private->children, window);